package top.infopub.mgr.cap.service;

import com.github.pagehelper.Page;
import top.infopub.dto.mkt.LoanContractDto;
import top.infopub.mgr.cap.domain.DropLoanFinDomain;
import top.infopub.mgr.cap.vo.RepaymentScheduleInfoVo;
import top.infopub.model.cap.InformationSubmitApproval;
import top.infopub.model.cap.LoanContract;
import top.infopub.model.cap.LoanContractSublist;
import top.infopub.model.cap.SetupFinancial;

import java.util.List;
import java.util.Map;

/**
 * @Author Warking
 * @Date 2021/5/24 9:38
 * @Version 1.0  借款合同
 */
public interface LoanContractService {

    /*借款合同列表接口*/
    Page<LoanContract> selectPage(Page<LoanContract> page, LoanContract loanContract);
    /*借款合同详情*/
    LoanContractDto queryDetail(String id);
    /*保存详情的保存*/
    String save(LoanContractDto dto, String proCode);
    /*查询主表数据*/
    LoanContract findById(String id);
    /*项目下拉接口  从金融机构选择 查询*/
    List<Map<String,String>> selectProCode();
    /*下拉查询新增的数据*/
    List<SetupFinancial> selectOrganization(String id);

    List<DropLoanFinDomain> selectProject();

    List<RepaymentScheduleInfoVo> selectDockById(String id);

}
